package com.mymarkdown.app.common.enums;

/**
 * @author zenglun
 * @date 2021/12/5 12:21 下午
 * @description: http请求响应客户端的消息编码与内容
 */
public enum ResponseResultEnum {
    /*
        没有找到相关
     */
    FAIL("500", "失败"),
    SUCCESS("200", "成功!"),
    NOT_FOUND_HANDLER_CLASS("4001", "没有找到相关处理类");
    private String code;
    private String message;
    ResponseResultEnum(String code, String message){
        this.code = code;
        this.message = message;
    }

    public String getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
